package com.example.myapplication2048;

import com.example.myapplication2048.slice.PageDisplaySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.agp.window.service.Window;

public class PageDisplay extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(PageDisplaySlice.class.getName());
        Window window = getWindow();
        window.setWindowLayout(300,1000);
    }
}
